<!DOCTYPE html>
<html>
<head>
<title>RTT Web</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<link rel="stylesheet" href="css/chat.css" />
<script src="js/jquery-1.6.2.js"></script>
<script 
	src="js/jquery.mobile-1.0b2.min.js"></script>
<link rel="stylesheet"
	href="css/jquery.mobile-1.0b2.min.css" />
<script type="text/javascript" src="js/chat.js"></script>
<link rel="stylesheet"
	href="css/jquery.bubblepopup.v2.3.1.css" />
	<script
	src="js/jquery.bubblepopup.v2.3.1.min.js"></script>
	

</head>
<body id="body" style="height: 100%; width:100%;">
	<div data-role="page" id="inichat" style="height: 100%; width:100%;">
		<div data-role="header" style="height: 50px;" data-position="fixed">
			<h1>RTT-Web</h1>

			<ul class="ulmenu">
				<li class="menu">
					<p>
						<a class="amenu" href="#">Home</a>
					</p>
					<p class="subtext">Home</p>										
				</li>
				<li class="menu2" id="menu21">
					<p>
						<a class="amenu"></a>
					</p>					
				</li>				
				<li class="menu">
					<p>
						<a class="amenu" href="#">Log in</a>
					</p>
					<p class="subtext">Log in</p>
				</li>
				<li class="menu2" id="menu22">
					<p>
						<a class="amenu"></a>
					</p>					
				</li>
				<li class="menu">
					<p>
						<a class="amenu" href="#">Options</a>
					</p>
					<p class="subtext">Options</p>
				</li>
				<li class="menu2" id="menu23">
					<p>
						<a class="amenu"></a>
					</p>					
				</li>
				<li class="menu">
					<p>
						<a class="amenu" href="#">Sign in</a>
					</p>
					<p class="subtext">Sign in</p>
				</li>
				<li class="menu2" id="menu24">
					<p>
						<a class="amenu"></a>
					</p>					
				</li>
				<li class="menu">
					<p>
						<a class="amenu" href="#">Log out</a>
					</p>
					<p class="subtext">Log out</p>
				</li>
			</ul>


		</div>
		<!-- /header -->
		<div id="content" data-role="content" style="height: 100%; width:100%; ">
			<br> <br> <br /> <br />
			<div id="login">
				<div data-role="fieldcontain">
					<label for="name">User name:</label> <input type="text"
						name="name" id="name" value="" class="input"/>
				</div>
				<div data-role="fieldcontain">
					<label for="name">PassWord:</label> <input
						type="password" name="passw" id="password" value="" class="input"/>
				</div>
				<a data-role="button" id="connect">Connect</a>
				<div id="loginresult"></div>
			</div>
			<div id="register" style="display:none;">
				<div data-role="fieldcontain">
					<label for="name">User name:</label> <input type="text"
						name="name" id="name1" value="" />
				</div>
				<div data-role="fieldcontain">
					<label for="name">PassWord:</label> <input
						type="password" name="passw" id="password1" value="" />
						<label for="name">Confirm passWord:</label> <input
						type="password" name="passw" id="password2" value="" />
				</div>
				<input type="button" id="signin" value="Sign In" />
				<div id="registerresult"></div>
			</div>
			
			<div id="chat">
				<div id="nameuser">
					<a href="#">Name Id</a>
				</div>
				<div class="calloutUp">
					<div class="calloutUp2"></div>
				</div>
				<textarea id="log"></textarea>
				<br /> <br />
				<textarea id="logother"></textarea>
				<div class="calloutDown">
					<div class="calloutDown2"></div>
				</div>
				<div id="Me">
					<a href="#">Name Id 2</a>
				</div>


				<!-- <div class="loginfo">
					<textarea id="loginfo"></textarea>
					<div class="logusers" id="buttonout"></div>
				</div> -->

			</div>
			<!-- <div class="logusers">
				<label class="cabecera" id="usersup">People Online</label>
				<div id="users"></div>
			</div> -->
			<div class="logusers" id="friendsini">
				<!--  <label class="cabecera" id="friendsup">Friends</label>-->
				<div id="friends"></div>
				<div id="rmfriends" style="display:none"></div>
			</div>
			
			<div class="search" id="search" style="display:none">				
					<input type="text" name="search" id="search_box" class='search_box'></input>			
					<div data-inline="true" style="width:10px; float:left;" ><img id="btnsearch" src="img/friendbutton.png"></img></div><br />	
					<div id="resultsearch" style="margin-left:-50%; margin-top:75px;">
					
					</div>		
			</div>

		</div>
		<div id="popup" style="display: none;"></div>
		<div id="window" style="display: none;">
			<div id="popup_content">
				<div data-role="button" id="aceptar"></div>
				<div data-role="button" id="denegar"></div>
			</div>
		</div>
		<div id="searchfriendswindow" style="display: none;">
			<div id="searchfriendscontent" style="width: 90%; height:90%; margin-left:3%;">							
			</div>
			<a data-role="button" id="cancelarfriends" data-theme="a" data-inline="true">Cancel</a>	
		</div>
		
	</div>
	
</body>
</html>
